import { defineStore } from 'pinia'
import { useUserStore } from 'jax-node'

export const useAuthStore = defineStore({
  id: 'authStore',
  state: () => {
    return {}
  },
  getters: {
    isPlatform() {
      return useUserStore().systemType == 'admin'
    },
    isProject() {
      return useUserStore().systemType == 'project'
    },
  },
  actions: {},
})
